package ace.module.account.api.model.auth.input.params;

import ace.module.account.api.model.auth.input.AuthenticationParams;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/10/24 10:19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AuthenticationParamsWxMpLoginCode implements AuthenticationParams {
  /**
   * 微信小程序login code
   */
  @NotEmpty private String code;

  /**
   * 微信小程序appId
   */
  @NotEmpty private String wxMiniAppId;

  /**
   * 是否需要支持快递注册
   */
  @Builder.Default private Boolean registerQuickFlag = Boolean.FALSE;
}
